import request from '@/utils/request'

export const addArticleAPI = fd => {
  return request({
    method: 'post',
    url: '/my/article/add',
    data: fd
  })
}

// 获取文章列表数据
export const getArticleAPI = params => {
  return request({
    method: 'get',
    url: '/my/article/list',
    params: params
  })
}
